<!DOCTYPE html>
<html ng-app="piclist.app">

<head>
    <meta charset=utf-8>
    <meta name=description content="">
    <meta name=viewport content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
    <title>相片列表</title>
    <link rel="stylesheet" type="text/css" href="/css/common.css">
    <link rel="stylesheet" type="text/css" href="/css/picturelist.css">
    <link rel="stylesheet" type="text/css" href="/lib/bootstrap/dist/css/bootstrap.min.css">
    <!--[if lte IE 8]>
    <script src="/js/ie8.js"></script>
    <![endif]-->
    <script src='/lib/jquery/dist/jquery.min.js'></script>
    <script src='/lib/angular/angular.min.js'></script>
    <script src="/lib/angular-bootstrap/ui-bootstrap-tpls.min.js"></script>
    <script src="/js/picturelist.js"></script>
</head>

<body>
    <div class="header">
    </div>
    <!-- /header -->
    <div class="con" ng-controller="pagectrl as vm">
        <div class="title">
            {{vm.type}}—{{vm.remark}}
            <a href="/" target="_self" class='right'>返回>></a>
        </div>
        <div class="pic-group">
            <div class="group" ng-repeat="(groupName,pics) in vm.picArr">
                <div class="group-name">
                    {{groupName}}
                </div>
                <ul>
                    <li ng-repeat="item in pics">
                        <div class="img-box">
                            <span>
                                <img ng-src="/resource/{{item.Pic.fileFullName}}" alt="{{item.Pic.fileName}}" ng-click="showImage(item.RemarkGroup.groupName,$index)" />
                            </span>
                        </div>
                        <div>{{item.Pic.fileName}}</div>
                    </li>
                </ul>
            </div>
        </div>
        <script type="text/ng-template" id="imgbox.html">
            <div class="modal-header">
                <a class="close" ng-click="close()" title="关闭"></a>
            </div>
            <div class="modal-body">
                <a class="btn-prev" ng-click="prevImg()"  title="上一张"></a>
                <div class="imgbox">
                    <img alt="{{getCurrPic(currIndex).fileName}}" ng-src="/resource/{{getCurrPic(currIndex).fileFullName}}" />
                    <span>{{getCurrPic(currIndex).fileName}}</span>
                </div>
                <a class="btn-next" ng-click="nextImg()"  title="下一张"></a>
            </div>
        </script>
    </div>
</body>

</html>
